﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace SevenInvaders.LEVEL_JACK
{
    class Vidas
    {
        public Texture2D textura;
        public int posicaoX;
        public int posicaoY;
        public static List<Vidas> vidas = new List<Vidas>();
        public Boolean passouLimite = false;

        public Vidas(Texture2D _textura, Vector2 _posicao)
        {
            textura = _textura;
            posicaoX = (int)_posicao.X;
            posicaoY = (int)_posicao.Y;
        }

        public void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(textura, new Rectangle(posicaoX, posicaoY, 26, 11), Color.White);
        }
    }
}
